package com.anjubao.parking.municipal.parkinglot.mapper;

import com.anjubao.parking.municipal.parkinglot.dto.VideoPileDto;
import com.anjubao.parking.municipal.parkinglot.form.VideoPileQueryForm;
import com.anjubao.parking.municipal.parkinglot.model.ParkingLotDeviceVideoPile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ParkingLotDeviceVideoPileMapper extends BaseMapper<ParkingLotDeviceVideoPile> {

    /**
     * 查询视频桩列表
     *
     * @param form 筛选条件
     * @return
     */
    Page<VideoPileDto> getVideoPiles(Page<VideoPileDto> page, VideoPileQueryForm form);


    /**
     * 查询视频桩dto
     *
     * @param id 视频桩id
     * @return
     */
    VideoPileDto getVideoPileDto(long id);
}
